package com.hl.toolkit.server.tycoin.account.slaverepository;

import com.tycoin.account.slaveentity.TycoinAccount;
import com.tycoin.common.repository.AbstractRepository;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Repository;

@Repository
@CacheConfig(cacheNames = "com.tycoin.account.slaverepository.tycoinAccountRepository")
 public interface TycoinAccountRepository extends AbstractRepository<TycoinAccount, Long> {
	
	
   TycoinAccount findOneByuserId(String userId);
 
	
		
	TycoinAccount findByuserId(String userId);
}
